package upicgame.article.dao;

import upicgame.entity.Article;

import java.util.List;

/**
 * @program: upicgame
 * @description: 文章管理
 * @author: lhq
 * @create: 2020-01-03 09:23
 */
public interface ArticleDao {
	boolean addArticle(Article article);
	boolean delArticle(Article article);
	Article findArticle(Integer id);
	boolean updateArticle(Article article);
	List<Article> findAllArticleByPage(Integer currentPage,Integer size);
	Long totalCount();
	List<String> getTitle();
}
